	<ul id="assessment_grades">
	<?php 
		$hasresult = false;
		foreach($assessment_items as $key => $item):
		if($item['marked']!=''){
			$hasresult = true;
		
	?>
		
		<li>
		<a href="<?php echo site_url("/assessment/view/".$item['assessment_id']); ?>"><?php echo $item['assessment_title']; ?></a>
		<?php if($item['marked']=='0' && $item['result']==''){echo '<i class="nm"></i>';
			
		}else if($item['result']!=''){
		
					$pres = $item['result'];
					if($pres>=85){$gres=7;}
					else if($pres>=75){$gres=6;}
					else if($pres>=65){$gres=5;}
					else if($pres>=50){$gres=4;}
					else if($pres>=40){$gres=3;}
					else if($pres>=25){$gres=2;}
					else {$gres=1;}
					
		echo '<i class="c'.$gres.'">'.$gres,'</i>';} ?>
		</li>
	<?php } endforeach?>
	<?php if(!$hasresult):?><li class="announce">Submissions and their grades will appear here as they become available.</li><?php endif ?>
	
	</ul>
	
	<h3>Your Progress</h3>